<%@ page import="java.text.SimpleDateFormat" %>
<%@ page import="java.util.Date" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2025/3/6
  Time: 14:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>页面</title>
</head>
<body>
<%
  String name=request.getParameter("username");
  out.println("你好,"+name"!今天的日期是：");
  Date date = new Date();
  SimpleDateFormat sdf = new SimpleDateFormat("YYYY年MM月dd日");
%>
</body>
</html>
